﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace ERP.ERPSystem.DataAnalysis
{

    /// <summary>
    /// 数据分析-物料流转数据-grx
    /// </summary>
    public interface IMaterialflowdataService : IApplicationService
    {
        /// <summary>
        /// 获取物料流转柱状图数据
        /// </summary>
        /// <returns>柱状图数据</returns>
        Task<Dictionary<string, decimal>> GetMaterialFlowBarChartData();

        /// <summary>
        /// 获取物料流转折线图数据
        /// </summary>
        /// <returns>折线图数据</returns>
        Task<Dictionary<string, decimal>> GetMaterialFlowLineChartData();

        /// <summary>
        /// 获取物料流转饼状图数据
        /// </summary>
        /// <returns>饼状图数据（包含名称、数值和百分比）</returns>
        Task<object> GetMaterialFlowPieChartData();

        /// <summary>
        /// 获取产品生产柱状图数据
        /// </summary>
        /// <returns>柱状图数据</returns>
        Task<Dictionary<string, decimal>> GetProductionWorkOrderBarChartData();

        /// <summary>
        /// 获取产品生产折线图数据
        /// </summary>
        /// <returns>折线图数据</returns>
        Task<Dictionary<string, decimal>> GetProductionWorkOrderLineChartData();

        /// <summary>
        /// 获取产品生产饼状图数据
        /// </summary>
        /// <returns>饼状图数据（包含名称、数值和百分比）</returns>
        Task<object> GetProductionWorkOrderPieChartData();
    }
}
